package main

import (
	"ginTest/global"
	"ginTest/initialize"
	"ginTest/core"
)

func main() {
	global.GVA_VP = core.ViperInit()  // 初始化配置
	global.GVA_LOG = core.Zap()       // 初始化zap日志库
	global.GVA_DB = initialize.GormInit() // gorm连接数据库
	// 运行服务
	core.RunServer()
}

